﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="EmptyProjectNet20._default" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>石大路货运信息系统</title>
    <script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="js/WebCommon.js" type="text/javascript"></script>
    <style>
        body.f-theme-neptune .header {
            background-color: #005999;
            padding: 0;
        }

            body.f-theme-neptune .header .x-panel-body {
                background-color: transparent;
            }

            body.f-theme-neptune .header .title a {
                text-decoration: none;
                line-height: 55px;
                margin-left: 10px;
            }

        .x-tree-node-text {
            cursor: pointer;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server"></f:PageManager>
        <f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
            <Regions>
                <f:Region ID="Region1" ShowBorder="false" Height="90px" Margin="0 0 0 0" ShowHeader="false" Position="Top" Layout="Fit" runat="server">
                    <Toolbars>
                        <f:Toolbar runat="server" Position="Bottom" ID="toolbar1">
                            <Items>
                                <f:ToolbarText ID="TText" runat="server"></f:ToolbarText>
                                <f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
                                <f:ToolbarText ID="ToolbarText1" runat="server"></f:ToolbarText>
                                <f:ToolbarFill runat="server"></f:ToolbarFill>
                                <f:Label runat="server" ID="lbltheme" Text="皮肤：" Hidden="true"></f:Label>
                                <f:DropDownList runat="server" Width="80px" ID="drp_theme" Hidden="true" AutoPostBack="true" OnSelectedIndexChanged="drp_theme_SelectedIndexChanged">
                                    <f:ListItem Text="海蓝色" Value="neptune" />
                                    <f:ListItem Text="淡蓝色" Value="blue" />
                                    <f:ListItem Text="银灰色" Value="gray" />
                                    <f:ListItem Text="黑灰色" Value="access" />
                                </f:DropDownList>
                                <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"></f:ToolbarSeparator>
                                <f:Button Icon="Key" ID="ChangePwd" runat="server" Text="修改密码"></f:Button>
                                <f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
                                <f:Button ID="Button1" runat="server" Icon="DoorIn" Text="安全退出" OnClick="LogOut"></f:Button>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                    <Items>
                        <f:ContentPanel BodyPadding="0" ShowBorder="false" ShowHeader="false" ID="ContentPanel1" CssClass="header" runat="server" Height="90px">
                            <div class="title" style="background-image: url(images/bg_top.jpg);">
                                <a style="color: #fff; font-family: '隶书'; font-weight: bold; font-size: 28pt; cursor: default;">石大路货运信息系统</a>
                            </div>
                        </f:ContentPanel>
                    </Items>
                </f:Region>
                <f:Region ID="Region2" Split="true" Width="200px" ShowHeader="true" Title="菜单"
                    EnableCollapse="true" Margin="0 0 5 5" Layout="Fit" Position="Left" runat="server">
                    <Items>
                    </Items>
                </f:Region>
                <f:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Position="Center" runat="server" Margin="0 0 5 0">
                    <Items>
                        <f:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                            <Tabs>
                                <f:Tab ID="Tab1" Title="首页" Layout="Fit" Icon="House" runat="server">
                                    <Items>
                                        <f:Panel ID="Panel6" Title="市场公告" ShowBorder="false" BodyPadding="0" ShowHeader="True" Layout="Fit" runat="server" AutoScroll="true">
                                            <Items>
                                                <f:Grid ID="Grid1" ShowBorder="false" PageSize="20" AllowPaging="true" EnableCheckBoxSelect="false" IsDatabasePaging="true" OnRowDataBound="Grid1_RowDataBound"
                                                    OnPageIndexChange="Grid1_PageIndexChange" EnableColumnLines="true" EnableHeaderMenu="false" ShowHeader="false" Title="表格" runat="server" EnableCollapse="false" DataKeyNames="AnnID">
                                                    <Columns>
                                                        <f:RowNumberField EnablePagingNumber="true" Width="25px" />
                                                        <f:BoundField Width="200px" DataField="Title" HeaderText="公告" />
                                                        <f:BoundField Width="150px" DataField="CreateDate" HeaderText="发布日期" />
                                                        <f:BoundField Width="150px" DataField="StartDate" HeaderText="开始日期" />
                                                        <f:BoundField Width="150px" DataField="EndDate" HeaderText="截止日期" />
                                                        <f:BoundField Width="150px" DataField="RealName" HeaderText="发布人" />
                                                        <f:BoundField Width="100px" DataField="AnnID" HeaderText="查看" TextAlign="Center" />
                                                    </Columns>
                                                </f:Grid>
                                            </Items>
                                        </f:Panel>
                                    </Items>
                                </f:Tab>
                            </Tabs>
                        </f:TabStrip>
                    </Items>
                </f:Region>
                <f:Region ID="Region3" ShowBorder="false" Margin="0 0 0 0" ShowHeader="false" Position="Bottom" Layout="Fit" runat="server">
                    <Toolbars>
                        <f:Toolbar>
                            <Items>
                                <f:Label runat="server" ID="Label1" EncodeText="false"></f:Label>
                                <f:Label runat="server" ID="runTimeLbl" EncodeText="false"></f:Label>
                                <f:ToolbarFill></f:ToolbarFill>
                                <f:Label runat="server" ID="lblSysInfo" EncodeText="false"></f:Label>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                </f:Region>
            </Regions>
        </f:RegionPanel>
        <f:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
            IFrameUrl="about:blank" IsModal="True" Width="350px" Height="200px">
        </f:Window>
        <f:Window ID="Window2" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
            IFrameUrl="about:blank" IsModal="True" Width="415px" Height="400px">
        </f:Window>
    </form>
    <script type="text/javascript">
        var IDS = {
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };
    </script>
    <script src="js/default.js" type="text/javascript"></script>
</body>
</html>
